package com.lagou.cl;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.transaction.annotation.EnableTransactionManagement;


@SpringBootApplication(scanBasePackages = {"com.lagou"})
@EntityScan(basePackages = "com.lagou.cl.pojo")
@EnableTransactionManagement
public class ShardingJdbcWorkApplication {

	public static void main(String[] args) {
		ConfigurableApplicationContext context = SpringApplication.run(ShardingJdbcWorkApplication.class);


	}


}
